public class SparseMatrixTest {
    public static void main(String[] args) {
        Integer m[][] = {{0,0,8,0,0,0},{0,0,0,0,0,0},{5,0,0,0,16,0},{0,0,18,0,0,0},{0,0,0,9,0,0}};
        SparseMatrix sm = new SparseMatrix(m);
        sm.printMatrix1();
        sm.printMatrix();
        sm.transpose();
        sm.printMatrix1();
        sm.printMatrix();
    }
}
